
add_subdirectory(gtest)

aux_source_directory(unit_test UT_SRC)
add_executable(unit_test unit_test_main.cpp ${UT_SRC})
target_link_libraries(unit_test torch_npu gtest)
target_include_directories(unit_test PUBLIC ${CMAKE_CURRENT_LIST_DIR}/gtest)
target_include_directories(unit_test PUBLIC ${CMAKE_CURRENT_LIST_DIR}/gtest/gtest)
target_include_directories(unit_test PUBLIC ${CMAKE_CURRENT_LIST_DIR}/gtest/gmock)
target_include_directories(unit_test PUBLIC ${PROJECT_SOURCE_DIR}/distributed)